/**
 * 用户相关rest api
 */
import request from '@/utils/request'

//API常量
const APIS = {
    V1: "/v1"
}


export function resetPwd(data) {
    return request({
        url: APIS.V1 + `/visible/user/reset`,
        method: 'post',
        data
    })
}


export function sendCode(param) {
    return request({
        url: APIS.V1 + `/visible/sms/sendVerificationCode`,
        method: 'get',
        params: param
    })
}
